package com.xu.service;

import com.xu.pojo.User;
import org.springframework.stereotype.Service;

import java.util.List;


public interface UserService {
    //查询用户密码
    User queryUserById(int uid);
    //增加用户
    int addUser(User user);
    //删除用户
    int delUser(int userid);
    //修改用户
    int updUser(User user);
    //查询全部用户
    List<User> getAllUser();
}
